package cfdt.ldl.risk.api.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;

import cfdt.common.vo.ObjectBaseResponse;
import cfdt.ldl.risk.api.feign.fallback.RiskFallBack;
import cfdt.ldl.risk.api.request.CheckBlacklistRiskRequest;

/**
 * 
 * 黑名单检查
 *
 * <pre>
 * Modify Information:
 * Author       Date          Description
 * ============ ============= ============================
 * wangxiao      2021年8月16日上午9:37:03      黑名单检查Feign
 *
 * </pre>
 */
@FeignClient(value = "ldl-risk", fallbackFactory = RiskFallBack.class, path = "ldl-risk")
public interface RiskFeign {

    @SuppressWarnings("rawtypes")
    @GetMapping("/risk/checkblacklist")
    ObjectBaseResponse checkBlackList(@RequestBody CheckBlacklistRiskRequest request);
}
